home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
batchut
/
pshdir1a.zip
/
PUSHDIR.TXT
< prev
Wrap
Text File
|
1988-12-23
|
1KB
|
27 lines
PUSHDIR Enhancements
12/22/88
There are at least 2 variations of PUSHDIR on the 'boards', both of
which are said to be version 1.0. One will merely push the current
drive and directory onto a stack, the other will also call the DOS
function to issue a CHDIR if there is a command line parameter. However,
if the parameter refers to a directory on a drive other than the current
default drive it will not switch you to that drive.
I have taken the 'original' source from PC Magazine (which merely stacks
the current directory) and added the CHDIR function and the select default
drive function when there is a command line parameter. I have called this
version 1.a to distinguish it from the others.
Example:
C:\>pushdir d:\user1
D:\USER1> (In 1.0 you would still be on C:\>)
D:\USER1>popdir
C:\>
I hope these changes are of use to you.
Happy New Year! from Mike Williams in beautiful 'downtown' Burtonsville, MD..